'''
Defines the front-end site structure. Binds URLs with django views. Information can be passsed from the web page to django. For example, url 

	url(r'^details(?P<event_id>\d+)$', 'details', name='event-details')

will pass an argument named event_id to the 'details' view
'''
# Import django modules
from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import url



urlpatterns = patterns('maps.views',
    url(r'^$', 'index', name='events-index'),
    url(r'^addevent$', 'add_event', name='events-add'),
    url(r'^details(?P<event_id>\d+)$', 'details', name='event-details'),
)
